package com.china08.yxyapi.entity.db.lessons;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.china08.yxyapi.entity.BaseEntityNoId;

/**
 * 同步课程--章节
 * 
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "yxy_lessons_synchro_lesson_chapter", catalog = "yxy_lessons")
public class YxyLessonsSynchroLessonChapter extends BaseEntityNoId {

    @Id
    @Column(length = 32)
    private String id;
    @Column
    private String lessonId;// 课程id

    @Column
    private String title;// 名称

    @Column
    private String intro;// 简介

    /** 排列序号 */
    @Column(name = "order_num", nullable = false, columnDefinition = "INT(11) DEFAULT 100")
    private Integer orderNum = 20;

    public String getLessonId() {
        return lessonId;
    }

    public void setLessonId(String lessonId) {
        this.lessonId = lessonId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

}
